Skip to content

ci: use ubuntu-slim for lightweight jobs#4326

Merged
mbutrovich merged 1 commit into
apache:mainfrom
mbutrovich:ubuntu-slim
May 14, 2026
Merged

ci: use ubuntu-slim for lightweight jobs#4326
mbutrovich merged 1 commit into
apache:mainfrom
mbutrovich:ubuntu-slim

Conversation

@mbutrovich
Copy link
Copy Markdown
Contributor

@mbutrovich mbutrovich commented May 14, 2026

Which issue does this PR close?

Closes #3665.

Rationale for this change

apache/iceberg-rust#2187

ubuntu-slim is a new cost-efficient runner to fit lightweight jobs. We can use this to save ASF infra usage (if possible).

By lightweight I mean jobs that run for less than a minute and are not easily affected by other concurrently running jobs on the same host.

This topic was raised in the Apache ORC project and later adopted by iceberg-cpp. We believe it could also benefit other projects under the Apache Iceberg umbrella.

Refs:

What changes are included in this PR?

Adapt 8 low-resource workflows to ubuntu-slim similar to apache/datafusion#21252 and apache/arrow-rs#9536.

How are these changes tested?

Existing CI.

@mbutrovich mbutrovich requested a review from andygrove May 14, 2026 16:30
@mbutrovich mbutrovich changed the title ci: switch 8 workflows to ubuntu-slim ci: use ubuntu-slim for lightweight jobs May 14, 2026
@mbutrovich mbutrovich self-assigned this May 14, 2026
@comphead
Copy link
Copy Markdown
Contributor

I feel the CI is slightly faster with slim?

@mbutrovich
Copy link
Copy Markdown
Contributor Author

I feel the CI is slightly faster with slim?

It's only 8 workflows that run for about a minute, so I suspect that's just noise from the cloud.

@mbutrovich
Copy link
Copy Markdown
Contributor Author

mbutrovich commented May 14, 2026

Why didn't this run Spark SQL tests, but it did run Iceberg Spark SQL tests? That's why it went faster.

Copy link
Copy Markdown
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mbutrovich

@comphead
Copy link
Copy Markdown
Contributor

Another thing if we plan to remove native_iceberg_compat soon, we prob can remove that scan from CI matrix to save some time?

@mbutrovich
Copy link
Copy Markdown
Contributor Author

Another thing if we plan to remove native_iceberg_compat soon, we prob can remove that scan from CI matrix to save some time?

Yep, I think that's included in #4019

@mbutrovich mbutrovich merged commit 1d45b5f into apache:main May 14, 2026
144 of 145 checks passed
@mbutrovich mbutrovich deleted the ubuntu-slim branch May 14, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: use ubuntu-slim where applicable

3 participants